# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=dripper
pkgver=v1.r1.gc9bb0c9
pkgrel=2
groups=('blackarch' 'blackarch-scanner')
pkgdesc='A fast, asynchronous DNS scanner; it can be used for enumerating subdomains and enumerating boxes via reverse DNS.'
url="http://www.blackhatlibrary.net/Dripper"
arch=('x86_64' 'aarch64')
license=('custom')
makedepends=('git')
source=("git+https://github.com/BlackArch/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
  cd $pkgname

  git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}

build(){
  cd $pkgname

  make
}

package() {
  cd $pkgname

  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

